<pre class="docs-method-signature"><code>graph.isSource(element)</code></pre><p>Return <code>true</code> if <code>element</code> is a root, i.e. there is no link that targets the element.
                  Time complexity: <code>O(1)</code>.
                </p>